import { BrowserRouter, Route, Routes } from 'react-router-dom'
import Login from './views/Login'
import Layout from './views/Layout'

function App() {
  return (
    <>
      {/* 路由配置 */}
      <BrowserRouter>
        <Routes>
          <Route path="/login" element={<Login />} />
          <Route path="/" element={<Layout />} />
        </Routes>
      </BrowserRouter>
    </>
  )
}

export default App
